package 依赖倒置原则.classes;

public class Lamp implements IOnAndOff
{

	@Override
	public void turnOn() {
		System.out.println("开盏灯");
	}

	@Override
	public void turnOff() {
		System.out.println("关灯");
	}
}
